package com.example.chirdrenserver.Service.AdminService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chirdrenserver.Pojo.dto.BasePage;
import com.example.chirdrenserver.Pojo.entity.Role;
import com.example.chirdrenserver.Pojo.vo.RolePermissionVO;
import com.example.chirdrenserver.Utils.Result;

import java.util.Set;

/**
 * @Author: Yu
 * @CreateTime: 2025-07-01
 * @Description:
 */
public interface RoleService extends IService<Role> {
    void removeRole(String id);

   Set<RolePermissionVO> listRolePermission(BasePage basePage);

    void add(Role role);
}
